package com.hung.trade.common.protocol;

import java.math.BigDecimal;

/**
 * @author hungki
 * @createTime 2018-10-09 上午 11:20
 */
public class OrderCancelMessage {
    private String orderId;
    private Long userId;
    private Long goodsId;
    private Integer goodsNumber;
    private String couponId;
    private BigDecimal userMoney;
    private String moneyLogType;

    public String getMoneyLogType() {
        return moneyLogType;
    }

    public void setMoneyLogType(String moneyLogType) {
        this.moneyLogType = moneyLogType;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public BigDecimal getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(BigDecimal userMoney) {
        this.userMoney = userMoney;
    }

    @Override
    public String toString() {
        return "OrderCancelMessage{" +
                "orderId='" + orderId + '\'' +
                ", userId=" + userId +
                ", goodsId=" + goodsId +
                ", goodsNumber=" + goodsNumber +
                ", couponId='" + couponId + '\'' +
                ", userMoney=" + userMoney +
                ", moneyLogType='" + moneyLogType + '\'' +
                '}';
    }
}
